<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class VideoInfo extends Model
{

	   /**
      * The database table used by the model.
      *
      * @var string
      */
	   protected $table = 'video';
	
    /**
	  * The primary key used by the model.	
	  *	
	  *@var string
    */
    protected $primaryKey = 'id';

    /**
      * Each patient case has multiple video info;
      * 
      * @return Response
      */
    public function case()
    {
      return $this->belongsTo('App\PatientCase','id','id');
    } 

    
}
